﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="user_chg_email.aspx.cs" Inherits="user_user_chg_email" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>更改登录邮箱</title>
	<link href="../css/user01.css" rel="stylesheet">
    <link href="../css/ecrm03.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../js/Function.js"></script>
    <script type="text/javascript" src="../js/myCheck.js"></script>
    <script type="text/javascript" language="javascript">
        function chk()
        {
			if(CheckEMail(form1.oldemail)==false) return false;
			if(CheckEMail(form1.newemail)==false) return false;
            
			return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="900" border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>
                <td>
                    <div id="nav"><a class="now" href="../index.aspx"><span>首页</span></a></div>
                    <div class="clear"></div><div id="status"><div id="subnav"></div><span class="pl">&nbsp;</span></div><br />
                    <div><h1>更改登录邮箱</h1></div>
                    <p style="margin-left: 20px;">
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td class="title1">你现在使用的邮箱地址:</td>
                            </tr>
                            <tr>
                                <td><asp:TextBox ID="oldemail" runat="server" Width="160"></asp:TextBox></td>
                            </tr>
                            <tr height=16>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="title1">登录密码:</td>
                            </tr>
                            <tr>
                                <td><asp:TextBox ID="password" runat="server" Width="160" TextMode="Password"></asp:TextBox></td>
                            </tr>
                            <tr height=16>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="title1">你想设置的新登录邮箱:</td>
                            </tr>
                            <tr>
                                <td><asp:TextBox ID="newemail" runat="server" Width="160"></asp:TextBox></td>
                            </tr>
                        </table><br />
                        <asp:Button ID="btnSave" runat="server" Text="更新我的email" OnClick="btnSave_Click" />&nbsp;<asp:button id="btnBack" runat="server" Text="返回" OnClick="btnBack_Click" ></asp:button><font style="font-size: 10pt; color: red;"><asp:Literal ID="msg" runat="server"></asp:Literal></font>     
                    </p>
                    <br />
                    <div style="border-bottom: darkgray 1px dashed;"></div>
                    <span class="bottomfont">&copy;EasyCRM 2008-2009 汽车中国</span>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
